import request from '@/utils/request';
// list
export const qingjiajiluList = (params) => {
    return request({
        url: '/qingjiajilu/page',
        method: 'post',
        data: params,
    })
};
export const qingjiajiluDetail = (id) => {
    return request({
        url: '/qingjiajilu/'+id,
        method: 'get',
    })
};
// add
export const qingjiajiluSave = (params) => {
    return request({
        url: '/qingjiajilu',
        method: 'post',
        data: params,
    })
};
// updt
export const qingjiajiluEdit = (params) => {
    return request({
        url: '/qingjiajilu',
        method: 'put',
        data: params,
    })
};
// delete
export const qingjiajiluDelete = (id) => {
    return request({
        url: '/qingjiajilu/'+id,
        method: 'delete',
    })
};
// pldel
export const qingjiajiluDeleteList = (qingjiajilus) => {
    return request({
        url: '/qingjiajilu/deleteList',
        data:{list:qingjiajilus},
        method: 'post',
    })
};
// all
export const qingjiajiluAllList = () => {
    return request({
        url: '/qingjiajilu',
        method: 'get',
    })
};

export const qingjiajilu_tj_qingjialeixing = () => {return request({url: '/qingjiajilu/qingjiajilu_tj_qingjialeixing',method: 'get',})};